home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol K-12 / Vol K-12.iso / interfac / it.dig / scripts / %3Cdefault package%3E / FSelectableListSymbol.as < prev    next >
Encoding:
Text File  |  2012-08-27  |  794 b   |  34 lines

  1. function FSelectableListClass()
  2. {
  3.    this.init();
  4. }
  5. function(label, data)
  6. {
  7.    !this.enable;
  8. }
  9. FSelectableListClass.prototype = new FUIComponentClass();
  10. FSelectableListClass.prototype.init = function()
  11. {
  12.    super.init();
  13.    this.enable = true;
  14.    this.selected = new Array();
  15.    this.topDisplayed = this.numDisplayed = 0;
  16.    this.lastSelected = 0;
  17.    this.tabChildren = false;
  18.    if(this._name != undefined)
  19.    {
  20.       this.dataProvider = new DataProviderClass();
  21.       this.dataProvider.addView(this);
  22.    }
  23. };
  24. FSelectableListClass.prototype.addItemAt = function(index, label, data)
  25. {
  26.    if(index < 0 || !this.enable)
  27.    {
  28.       return undefined;
  29.    }
  30.    this.dataProvider.addItemAt(index,{label:label,data:data});
  31. };
  32. FSelectableListClass.prototype;
  33. "addItem";
  34.